<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>慕课论坛</title>
        <link rel="stylesheet" href="/luntan/application/index/static/css/all-df86af5803.css">
    </head>
    <body class="forum" data-page="forum">
       <div class="header">
    <nav class="navbar navbar-inverse navbar-fixed-top navbar-default">
      <div class="container">
        <div class="navbar-header" id="navbar-header">
          <a href="index.html" class="navbar-brand"><img src="/luntan/application/index/static/images/logo.png">
        </a>
        </div>
        <div id="main-nav-menu">
          <ul class="nav navbar-nav">
          <li ><a href="{:url('index/index/index'),'',''}"><i class="fa fa-home"></i> <span class="hidden-xs hidden-sm">首页</span></a></li>
          <li class="hidden-sm hidden-xs active"><a href="thread.html"><i class="fa fa-comments-o"></i> 话题</a></li>
          
          </ul>
        </div>
                <ul class="nav user-bar navbar-nav navbar-right">
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{$Think.session.yonghuming} <span class="caret"></span></a>
            <button class="navbar-toggle" type="button" data-toggle="dropdown" role="button" aria-expanded="false">
              <span class="sr-only">Toggle</span>
              <i class="fa fa-reorder"></i>
            </button>
            <ul class="dropdown-menu" role="menu"><li class=""><a href="my.html">我的主页</a></li>
            <li><div class='divider'></div></li>
                <li><a href="my.html">个人设置</a></li>

                <li><a href="score.html">我的积分</a></li>
                <li class='divider'></li>
                <li><a href="http://localhost/luntan/public/index.php/index/index/tuichu" onclick=" return confirm('你确定要退出吗?')"><i class="fa fa-sign-out"></i> 退出
                    </a></li>
            </ul>
          </li>
        </ul>
      
        <ul class="nav navbar-nav navbar-right">
          <li class="nav-search hidden-xs hidden-sm">
            <form method="GET" action="###/thread/create" accept-charset="UTF-8" class="navbar-form form-search active" target="_blank">
              <div class="form-group">
                <input placeholder="搜索" class="form-control" name="q" type="search">
              </div>
              <i class="fa fa-search"></i>
            </form>
          </li>
                                <li class="notification">
            <a href="message.html" class="notification-count "><i class="fa fa-bell"></i><span class="count"></span></a>
          </li>
                  </ul>
      </div>
    </nav>
  </div>		<div id="main" class="main-container container">
				                <div class="row max-width">
    <div class="col-xs-12">
        <ul class="breadcrumb">
            <li>
                <a href="index.html">首页</a>
            </li>
                        <li>
                               <strong>发表新帖</strong>
                            </li>
                    </ul>
    </div>
</div>
                
				
    <div class="thread_create">

        <div class="col-md-9 main-col">
            <div class="panel panel-default corner-radius">
                <div class="panel-heading">发表新帖</div>
                <div class="panel-body">
                    <div class="reply-box form box-block">
                                                    <form method="POST"  action="{:url('index/index/fatiechuli'),'',''}" accept-charset="UTF-8" id="thread_create_form" class="create_form"><input name="_token" type="hidden" value="BAnCy9yzQxp30BiIkeU58OMjR5uWeDM9dCSMNwKH">
                        
                        <div class="form-group">
                            <input class="form-control" id="thread_title" placeholder="标题" name="biaoti" type="text" required="required">
                        </div>

                        <div class="form-group">
                            <select class="form-control selectpicker" name="jiedian" required="required">
                                <option value=""
                                        disabled selected>选择节点</option>
                                                                    <optgroup label="imooc">
                                                                        <option value="站务与公告" - 站务与公告></option>
                                                                                            <option value="反馈"  >- 反馈</option>
                                                                                            <option value="使用指南"  >- 使用指南</option>
                                                                    </optgroup>
                                                                    <optgroup label="Mobile">
                                                                        <option value="iPhone"  >- iPhone</option>
                                                                        <option value="Android"  >- Android</option>
                                                                    </optgroup>
                                                                    <optgroup label="Lifestyle">
                                                                        <option value="Discovery"  >- Discovery</option>
                                                                        <option value="意欲蔓延"  >- 意欲蔓延</option>
                                                                    </optgroup>
                                                                    <optgroup label="Technology">
                                                                        <option value="Geek Talks"  >- Geek Talks</option>
                                                                        <option value="程序猿"  >- 程序猿</option>
                                                                        <option value="分享与创造"  >- 分享与创造</option>
                                                                    </optgroup>
                                                            </select>
                        </div>
                        <!-- editor start -->
                        <div class="editor-toolbar">
  <div class="opts pull-right">
    <span class="dropdown dropdown-small" id="editor-toolbar-insert-code">
      <a href="#editor-toolbar-insert-code" data-toggle="dropdown" title="插入代码"><i class="fa fa-code"></i></a>
      <ul class="dropdown-menu  insert-codes" role="menu">
        <li><a data-lang="php" href="#">PHP</a></li>
        <li><a data-lang="html" href="#">HTML</a></li>
        <li><a data-lang="scss" href="#">CSS / SCSS</a></li>
        <li><a data-lang="js" href="#">JavaScript</a></li>
        <li><a data-lang="yml" href="#">YAML <i>(.yml)</i></a></li>
        <li><a data-lang="coffee" href="#">CoffeeScript</a></li>
        <li><a data-lang="conf" href="#">Nginx / Redis <i>(.conf)</i></a></li>
        <li><a data-lang="python" href="#">Python</a></li>
        <li><a data-lang="java" href="#">Java</a></li>
        <li><a data-lang="ruby" href="#">Ruby</a></li>
        <li><a data-lang="erlang" href="#">Erlang</a></li>
        <li><a data-lang="shell" href="#">Shell / Bash</a></li>
      </ul>
    </span>
    <a class="btn-upload" href="javascript:void(0);" data-toggle="tooltip" data-placement="bottom" title="上传图片"><i class="fa fa-image"></i> </a>
    <input type="file" name="file" class="input-file"   style="display: none;" />
  </div>
  <ul class="nav nav-pills" style="clear:none;">
    <li class="edit active"><a href="#">编辑</a></li>
    <li class="preview"><a href="#">预览</a></li>
  </ul>
</div>                    <!-- end -->
                        <div class="form-group">
                            <textarea class="post-editor form-control" rows="15" required="required" style="overflow:hidden" id="body_field" placeholder="请使用Markdown撰写内容" name="neirong" cols="50"></textarea>
                        </div>

                        <div class="form-group">
                            <select class="form-control js-tag-tokenizer" multiple="multiple" name="biaoqian" required="required">
                                <option>basketball</option>
                                <option>footb</option>
                            </select>
                            <small>
                                请填写标签，多个标签之间用 , 分隔
                            </small>
                        </div>

                        <div class="form-group status-post-submit">
                            <input class="btn btn-primary col-xs-2" id="thread-create-submit" type="submit" value="发布">
                            <div class="pull-right">
                                <small>支持在编辑框拖拽、复制粘贴或<a class="btn-upload" href="javascript:void(0);">浏览本地文件</a>进行图片上传.</small>
                                <a href="/markdown" target="_blank"><i
                                            class="fa fa-lightbulb-o"></i> 排版说明
                                </a>
                                </small>
                            </div>
                        </div>

                        <div class="box preview markdown-body" id="preview-box" style="display:none;"></div>

                        </form>
                    </div>
                </div>
            </div>

        </div>

        <div class="col-md-3 side-bar">

            
            <div class="panel panel-default corner-radius help-box">
                <div class="panel-heading text-center">
                    <h3 class="panel-title">发帖提示</h3>
                </div>
                <div class="panel-body">
                    <ul class="list">
                        <li>主题标题
                            <p>请在标题中描述内容要点。</p>
                        </li>
                        <li>选择节点
                            <p>请为你的主题选择一个节点。恰当的归类会让你发布的信息更有用。</p>
                        </li>
                        <li>正文
                            <p>imooc 支持 <span style="font-family: Consolas, 'Panic Sans', mono"><a href="https://help.github.com/articles/github-flavored-markdown" target="_blank">GitHub Flavored Markdown</a></span> 文本标记语法。你可以在页面下方实时预览正文的实际渲染效果。</p>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="panel panel-default corner-radius help-box">
                <div class="panel-heading text-center">
                    <h3 class="panel-title">社区指导原则</h3>
                </div>
                <div class="panel-body">
                    <ul class="list">
                        <li>尊重原创
                            <p>请不要在 imooc 发布任何盗版链接，包括软件、音乐、电影等。</p>
                        </li>
                        <li>友好互助
                            <p>保持对陌生人的友善。用知识去帮助别人。</p>
                        </li>
                    </ul>
                </div>
            </div>

        </div>
    </div>


                		</div>

        <footer class="footer">
    <div class="container">
        <div class="copyright">
            <blockquote class="pull-left">
                <p>慕课论坛</p>
                <p>Copyright &copy; 2015-2016 <a href="index.html">imooc</a>  1.0.0-rc2 <span class="pipe">|</span><span class="pipe">|</span></p>
            </blockquote>
        </div>
        <div class="pull-right hidden-sm hidden-xs">
            <p>
                <a href="###">关于我们</a>
                <span class="pipe">|</span>
                <a href="###">联系我们</a>
                <span class="pipe">|</span>
                <a href="###">常见问题解答</a>
            </p>
            <p>
                <a href="index.html" target="_blank"><img src="images/imooc-logo.png" border="0" height="40" data-toggle="tooltip" data-placement="top" title="Powered by imooc" /></a>
            </p>
        </div>
    </div>
</footer>
	</body>
</html>
